package com.kehutong.admin.entity;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.annotation.UnSave;
import org.coraframework.orm.util.IDType;

import java.util.List;


/**
 * 企业模块版本
 */
@Table(value="sys_corp_module_version", comment="企业模快版本", idType=IDType.TIMESTAMP)
public class CorpModuleVersion extends Entity {

	private static final long serialVersionUID = 601072030525113102L;

	protected CorpModuleVersion(String id) {
		super(id);
	}

	@Column(comment="企业编号")
	private String corpNo;

	@Column(comment="企业名称")
	private String corpName;

	@Column(defValue = "NOT NULL default '2.0'",comment="资产模块版本")
	private String assetsVersion;

	@Column(defValue = "NOT NULL default '2.0'",comment="用户管理版本")
	private String userVersion;

	@Column(defValue = "NOT NULL default '2.0'",comment="工单管理版本")
	private String workOrderVersion;


	@Column(defValue = "NOT NULL default '2.0'",comment="消息管理版本")
	private String messageOrderVersion;

	@Column(defValue = "NOT NULL default '0'",comment="素材管理版本")
	private String materialVersion;

	@Column(defValue = "NOT NULL default '2.0'",comment="标签管理版本")
	private String tagVersion;

	@Column(defValue = "NOT NULL default '0'",comment="话术管理版本")
	private String wordsVersion;

	@Column(defValue = "NOT NULL default '0'",comment="需求预测管理版本")
	private String demandForecastVersion;


	@Column(defValue = "NOT NULL default '0'",comment="缴费模块版本")
	private String payVersion;


	@Column(defValue = "NOT NULL default '0'",comment="设备管理模块版本")
	private String deviceVersion;


	@Column(defValue = "NOT NULL default '0'",comment="门禁管理模块版本")
	private String accessControlVersion;


	//需要隐藏的菜单标志
	@UnSave
	private List<String> hideMenuId;


	public String getCorpNo() {
		return corpNo;
	}

	public void setCorpNo(String corpNo) {
		this.corpNo = corpNo;
	}

	public String getPayVersion() {
		return payVersion;
	}

	public void setPayVersion(String payVersion) {
		this.payVersion = payVersion;
	}

	public String getCorpName() {
		return corpName;
	}

	public void setCorpName(String corpName) {
		this.corpName = corpName;
	}

	public String getAssetsVersion() {
		return assetsVersion;
	}

	public void setAssetsVersion(String assetsVersion) {
		this.assetsVersion = assetsVersion;
	}

	public String getUserVersion() {
		return userVersion;
	}

	public void setUserVersion(String userVersion) {
		this.userVersion = userVersion;
	}

	public String getWorkOrderVersion() {
		return workOrderVersion;
	}

	public void setWorkOrderVersion(String workOrderVersion) {
		this.workOrderVersion = workOrderVersion;
	}

	public String getMessageOrderVersion() {
		return messageOrderVersion;
	}

	public void setMessageOrderVersion(String messageOrderVersion) {
		this.messageOrderVersion = messageOrderVersion;
	}

	public String getMaterialVersion() {
		return materialVersion;
	}

	public void setMaterialVersion(String materialVersion) {
		this.materialVersion = materialVersion;
	}

	public String getTagVersion() {
		return tagVersion;
	}

	public void setTagVersion(String tagVersion) {
		this.tagVersion = tagVersion;
	}

	public String getWordsVersion() {
		return wordsVersion;
	}

	public void setWordsVersion(String wordsVersion) {
		this.wordsVersion = wordsVersion;
	}

	public String getDemandForecastVersion() {
		return demandForecastVersion;
	}

	public void setDemandForecastVersion(String demandForecastVersion) {
		this.demandForecastVersion = demandForecastVersion;
	}

	public String getDeviceVersion() {
		return deviceVersion;
	}

	public void setDeviceVersion(String deviceVersion) {
		this.deviceVersion = deviceVersion;
	}

	public String getAccessControlVersion() {
		return accessControlVersion;
	}

	public void setAccessControlVersion(String accessControlVersion) {
		this.accessControlVersion = accessControlVersion;
	}

	public List<String> getHideMenuId() {
		return hideMenuId;
	}

	public void setHideMenuId(List<String> hideMenuId) {
		this.hideMenuId = hideMenuId;
	}
}